<extend name="./public/frame.html"/>
<block name="content">
    <table class="layui-table">
        <tr>
            <td>司机姓名</td>
            <td>{$driver_name}</td>
        </tr>
        <tr>
            <td>司机号码</td>
            <td>{$driver_phone}</td>
        </tr>
        <tr>
            <td>车牌</td>
            <td>{$car_plate}</td>
        </tr>
        <tr>
            <td>故障类型</td>
            <td>{$breakdown_type}</td>
        </tr>
        <notempty name="describe">
            <tr>
                <td>故障描述</td>
                <td>{$describe}</td>
            </tr>
        </notempty>
        <tr>
            <td>报故时间</td>
            <td>{$add_time}</td>
        </tr>
        <tr>
            <td>是否修好</td>
            <td>
                <eq name="is_repaired" value="1">
                    是
                    <else/>
                    否
                </eq>
            </td>
        </tr>
        <notempty name="repair_time">
            <tr>
                <td>维修好登记时间</td>
                <td>{$repair_time}</td>
            </tr>
        </notempty>
    </table>
</block>